package com.tudouji.project.produce.domain;

import java.math.BigDecimal;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 生产计划明细对象 produceplanitem
 * 
 * @author tudouji
 * @date 2022-06-01
 */
public class Produceplanitem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String guid;

    /** 生产计划id */
    @Excel(name = "生产计划id")
    private String produceplanid;

    /** 生产产品id */
    @Excel(name = "生产产品id")
    private String productid;

    /** 规格id */
    @Excel(name = "规格id")
    private String speid;

    /** 总重量 */
    @Excel(name = "总重量")
    private BigDecimal weight;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productname;

    /** 规格名称 */
    @Excel(name = "规格名称")
    private String spename;

    public void setGuid(String guid) 
    {
        this.guid = guid;
    }

    public String getGuid() 
    {
        return guid;
    }
    public void setProduceplanid(String produceplanid) 
    {
        this.produceplanid = produceplanid;
    }

    public String getProduceplanid() 
    {
        return produceplanid;
    }
    public void setProductid(String productid) 
    {
        this.productid = productid;
    }

    public String getProductid() 
    {
        return productid;
    }
    public void setSpeid(String speid) 
    {
        this.speid = speid;
    }

    public String getSpeid() 
    {
        return speid;
    }
    public void setWeight(BigDecimal weight) 
    {
        this.weight = weight;
    }

    public BigDecimal getWeight() 
    {
        return weight;
    }
    public void setProductname(String productname) 
    {
        this.productname = productname;
    }

    public String getProductname() 
    {
        return productname;
    }
    public void setSpename(String spename) 
    {
        this.spename = spename;
    }

    public String getSpename() 
    {
        return spename;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("guid", getGuid())
            .append("produceplanid", getProduceplanid())
            .append("productid", getProductid())
            .append("speid", getSpeid())
            .append("weight", getWeight())
            .append("remark", getRemark())
            .append("productname", getProductname())
            .append("spename", getSpename())
            .toString();
    }
}
